/* 课程详情 */
@mixin a_global {
  .browse-money {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
    color: #666;

    .el-tag {
      height: 22px;
      padding-right: 9px;
      padding-left: 9px;
      border-color: rgba(44, 142, 255, 0.06);
      border-radius: 2px;
      background-color: rgba(44, 142, 255, 0.06);
      line-height: 20px;
      color: #2c8eff;
    }
  }

  .title {
    padding-top: 15px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 16px;
    color: #333;
  }
}

.el-breadcrumb {
  padding-top: 30px;
  padding-bottom: 20px;
}

.layout {
  background-color: #ffffff;
  .handpick {
    padding-bottom: 70px;
  }
}
.container_content {
  display: flex;
  background-color: #ffffff;

  ::v-deep .el-carousel__arrow {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}

.container_content_imagelist {
  width: 600px;
  margin-right: 30px;

  .el-image {
    width: 100%;
    height: 336px;
    border-radius: 8px;
  }
  ::v-deep .is-active button {
    height: 4px;
    border-radius: 3px;
  }
}

.container_content_message {
  flex: 1;
  h3 {
    color: #282828;
    font-size: 16px;
    line-height: 19px;
    font-weight: bold;
    padding-top: 11px;
    margin-bottom: 10px;
  }

  h4 {
    font-size: 15px;
    color: #555;
  }
  .press {
    font-weight: 500;
    font-size: 15px;
    color: #555;
    margin: 10px 0;
  }

  .message_dis {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    color: #666666;
    font-size: 14px;
    line-height: 26px;
    margin-bottom: 10px;
  }

  .chosebox {
    h4 {
      font-family: PingFangSC;
      font-weight: 700;
      color: #111;
      display: block;
      margin-bottom: 15px;
      font-size: 16px;
    }
    .choswitem {
      .active {
        background: #fa4e4e;
        color: #fff;
      }

      span {
        padding: 10px;
        cursor: pointer;
        margin: 0 7px 7px 0;
        background: #f8f8f8;
        border-radius: 5px;
        font-family: PingFang SC;
        display: inline-block;
        font-weight: 500;
        font-size: 12px;
        color: #555;
      }
    }
  }
}

.content_message_tap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 41px;
  padding-right: 20px;

  .message_list {
    span {
      display: inline-block;
      height: 22px;
      padding: 0 9px;
      border-radius: 2px;
      background: rgba(44, 142, 255, 0.06);
      font-size: 12px;
      line-height: 22px;
      color: #2c8eff;
    }
  }

  .message_list + div {
    // align-self: flex-start;
    font-size: 14px;
    color: #8a8a8a;
  }
}

.content_message_validity {
  border-radius: 4px;
  margin-bottom: 22px;
  overflow: hidden;

  .message_validity_item {
    height: 30px;
    padding-left: 15px;
    background: linear-gradient(90deg, #ff8d3d 0%, #ff5947 100%);
    font-size: 12px;
    line-height: 30px;
    color: #ffffff;
  }

  .content_message_priceBox {
    height: 60px;
    background-color: #f8f9fb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px 0 15px;
  }

  .message_priceBox_item {
    display: flex;
    align-items: center;

    div:first-child {
      color: #999999;
      font-size: 14px;
      margin-right: 10px;
    }

    div:last-child {
      .free {
        color: #ff6b00;
        font-size: 24px;
      }
    }
  }

  .message_priceBox_item + div {
    span {
      font-size: 14px;
      color: #999999;
    }
  }
}

.handle {
  display: flex;
  align-items: center;
  justify-content: space-between;

  div:first-child {
    font-size: 16px;
    color: #999999;
    cursor: pointer;
    display: flex;
    user-select: none;

    .iconfont {
      margin-right: 5px;
      font-size: 24px;
    }
  }

  div:last-child {
    .el-button {
      width: 120px;
      height: 40px;
      font-size: 16px !important;
    }

    .btns_t {
      background: linear-gradient(90deg, #ff8d3d 0%, #ff5947 100%);
      border: none;
    }

    .el-button.is-round {
      border-radius: 50px;
    }
  }
}

::v-deep .el-carousel__indicators {
  position: absolute;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 2;
}

::v-deep .el-carousel__indicators--horizontal {
  left: auto;
  right: 20px;
  bottom: 20px;
}

.container_detils {
  display: flex;
  margin-top: 30px;
}

.detils_con {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.container_selectTap {
  display: flex;
  margin-bottom: 10px;
  position: relative;
  height: 56px;
  border-radius: 2px;
  background-color: #fff;
  align-items: center;

  .el-button--text {
    padding: 2px 30px;
    border-left-color: #d9d9d9;
    border-radius: 0;
    color: #333333;
  }

  .el-button--text:hover {
    color: #409eff;
  }
}

.selectTap_tip {
  position: absolute;
  top: 0;
  left: 0;
  width: 113px;
  transition: 0.3s;

  img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
  }
}

.selectTap_item {
  display: flex;
  align-items: center;
  flex: 1;

  & > div:not(:last-child) {
    border-right: 1px solid #d9d9d9;
  }

  .selectTap {
    width: 113px;
    font-size: 14px;
    color: #282828;
    text-align: center;
    cursor: pointer;
    user-select: none;
  }
}

.container_content_detils {
  flex: 1;
  min-height: 0;
  background-color: #fff;
  border-radius: 5px;
  padding: 30px;
}

.detils_content {
  img {
    width: 100%;
  }
}

.detils_propaganda {
  width: 320px;
  margin-left: 14px;
}

.propaganda_recommend {
  background-color: #fff;
  padding: 0 14px;
  border-radius: 5px;
}

.recommend_more {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px dashed #f1f1f1;
  font-size: 18px;
  color: #282828;

  div:first-child {
    font-size: 18px;
    color: #282828;
  }

  div:last-child {
    color: #666;
    font-size: 12px;
    cursor: pointer;
  }
}

.propaganda_con {
  h3 {
    height: 50px;
    line-height: 50px;
    font-weight: normal;
    font-size: 17px;
    // border-bottom: 1px dashed #eee;
  }
  a {
    margin-bottom: 15px;
    display: block;
    border-radius: 8px;
    background-color: #fff;
    overflow: hidden;
    transition: 0.3s;

    .el-image {
      display: block;
      width: 100%;
      height: 160px;
    }

    .el-image + div {
      padding: 0 15px;
    }
  }

  .label-count {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 48px;
    border-top: 1px dashed #eee;
    font-size: 14px;
    color: #999;

    .money {
      font-size: 14px;
      color: #ff6b00;

      span {
        font-size: 18px;
      }
    }
  }

  @include a_global();
}

.el-popover {
  img {
    height: 140px;
    padding: 15px;
    box-sizing: border-box;
  }
  p {
    height: 29px;
    border-radius: 0 0 4px 4px;
    background-color: #2c8eff;
    font-size: 12px;
    line-height: 29px;
    text-align: center;
    color: #ffffff;
  }
}

.container_content_detils {
  .el-collapse {
    border-top: none !important;
  }

  ::v-deep .el-collapse-item__header {
    height: 64px;
    background-color: #f5f6f6;
    padding: 0 20px;
    font-size: 16px;
    color: #282828;
  }
}

.catalogue_item_child {
  align-items: center;
  display: flex;
  justify-content: space-between;

  .left_catalogue {
    display: flex;
    flex: 1;
    align-items: center;
    min-width: 0;
    font-size: 16px;

    div:first-child {
      width: 18px;
      height: 14px;
      padding: 1px 0;
      border-radius: 2px;
      margin-right: 10px;
      background: #999;
      img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
      }
    }
  }

  .right_type {
    width: 64px;
    height: 28px;
    text-align: center;
    img {
      width: auto;
      max-width: 64px;
      height: 24px;
      margin: 2px auto 0;
    }

    .el-button {
      border-color: transparent !important;
      background-color: #fff0e5;
      text-align: center;
      color: #ff6b00;
      font-size: 12px;
    }
  }
}

::v-deep .el-collapse-item__wrap {
  border-bottom: none !important;
}

.catalogue_item_wra {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 70px;
  padding: 0 30px;
  border-bottom: 1px solid #ebeef5;
}

.catalogue_item_progress {
  margin-top: 4px;
  font-size: 0;

  span {
    vertical-align: middle;
    font-size: 14px;
    line-height: 20px;
    color: #707070;
  }
  .label_item {
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
    font-size: 14px;
    line-height: 20px;
    color: #2c8eff;
    .progress {
      width: 180px;
      ::v-deep .el-progress__text {
        color: #2c8eff !important;
      }
    }
  }
}

.package_course {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-row-gap: 14px;
  grid-column-gap: 14px;

  a {
    position: relative;
    margin-bottom: 15px;
    display: block;
    border-radius: 8px;
    background-color: #fff;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0px 2px 15px rgb(79 109 143 / 15%);

    .el-image:first-child {
      display: block;
      width: 100%;
      height: 160px;
    }

    .el_img2 + div {
      padding: 0 15px;
    }

    .el_img2 {
      position: absolute;
      top: 130px;
      right: 10px;
      width: 12px !important;
      height: 12px;
      border-radius: 50%;
      padding: 4px;
      background-color: rgba(0, 0, 0, 0.5);
    }
  }

  .label-count {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 48px;
    font-size: 14px;
    color: #999;
  }

  @include a_global();
}

.problem {
  padding: 28px 0 0 27px;
  margin: -30px;

  .list {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
  }

  li {
    width: 390px;
    height: 180px;
    padding: 20px;
    list-style: none;
    box-sizing: border-box;
    border-radius: 8px;
    margin: 0 26px 26px 0;
    box-shadow: 0 2px 15px 1px rgb(79 109 143 / 15%);

    .wrap {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 25px;
      font-size: 14px;
      color: #999999;

      button {
        height: 30px;
        padding: 0 17px;
        border: none;
        border-radius: 15px;
        background-color: #2c8eff;
        font-size: 14px;
        color: #ffffff;
        cursor: pointer;
      }
    }

    .title {
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      overflow: hidden;
      height: 54px;
      font-size: 18px;
      line-height: 27px;
      color: #282828;
    }

    ::v-deep .el-progress {
      margin-top: 12px;
      font-size: 14px;
      line-height: 20px;
      color: #2c8eff;
    }

    ::v-deep .el-progress-bar {
      display: inline-block;
      width: 180px;
      border-radius: 4px;
    }

    ::v-deep .el-progress__text {
      color: #2c8eff !important;
    }
  }
}

.submit_evaluate {
  padding-bottom: 31px;
  border-bottom: 1px solid #f5f6f6;
  margin-bottom: 20px;
  .el-form {
    margin-top: 28px;
  }

  ::v-deep .el-form-item__content {
    margin-left: 0 !important;
  }
  ::v-deep .el-textarea__inner {
    font-family: 'Microsoft Yahei';
    background-color: #f8f8f8 !important;
  }
}

.submit_evaluate_handle {
  display: flex;
  align-items: center;
  margin-top: 25px;
  justify-content: space-between;

  .el-icon-upload {
    font-size: 18px;
    margin-right: 5px;
  }
}

.total_score {
  margin-bottom: 20px;

  span:first-child {
    font-size: 16px;
    color: #666666;
    font-weight: 400;
  }

  & > span {
    color: #ff6b00;
    font-weight: 600;
    font-size: 12px;
  }

  span:nth-child(2) {
    font-size: 34px;
    letter-spacing: 0.1em;
  }
}

.user_list_item {
  padding-top: 20px;
  padding-bottom: 20px;
}

.item_user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  div:last-child {
    span {
      font-size: 14px;
      color: #868686;
    }
  }

  div:first-child {
    display: flex;
    align-items: center;

    .el-avatar {
      margin-right: 12px;
    }
    .el-avatar + span {
      margin-right: 12px;
    }
  }

  .el-rate {
    ::v-deep .el-rate__icon {
      margin-right: 0;
    }
  }
}

.item_value {
  padding-left: 52px;
  margin-top: 18px;
}

.question {
  padding: 30px 0 0 30px;
  margin: -30px;

  .list_question {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    list-style: none;

    li {
      width: 246px;
      height: 240px;
      border-radius: 8px;
      margin: 0 30px 30px 0;
      box-shadow: 0 2px 15px 1px rgb(79 109 143 / 15%);

      .el-image {
        display: block;
        width: 100%;
        height: 138px;
      }

      .title {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        padding: 15px 20px 0;
        font-size: 16px;
        line-height: 21px;
        color: #282828;
      }

      .group {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 20px 0;
        font-size: 14px;
        color: #ff6b00;

        .el-button {
          height: 26px;
          padding: 0 11px;
          border: none;
          border-radius: 13px;
          background-color: #2c8eff;
          font-size: 14px;
          color: #ffffff;
        }
      }
    }
  }
}
